/**
 * 
 */
package com.wolfware.athsweb.persistancy.dao;

import java.util.List;

import com.wolfware.athsweb.domain.User;

/**
 * Used to persist a <code>User</code> object.
 * @author cstrzadala
 */
public interface UserDAO  {

	/**
	 * 
	 * @param club
	 */
	void saveUserEntry(final User user);
	
	/**
	 * 
	 * @param clubs
	 */
	void saveUserEntries(final List<User> userList);
	
	/**
	 * 
	 * @return
	 */
	List<User> getAllUsers();
	
	/**
	 * 
	 * @return
	 */
	User getUserById(Long id);
	
	/**
	 * 
	 * @param user
	 */
	void updateUserEntry(User user);
	
	/**
	 * 
	 * @param user
	 */
	void deleteUserEntry(User user);
}
